package com.k.demo.service.impl;

import java.util.List;

import org.apache.ibatis.annotations.ResultMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.k.demo.entity.Power;
import com.k.demo.mapper.PowerMapper;
import com.k.demo.service.PowerService;

@Service
public class PowerServiceimpl implements PowerService{
	@Autowired
	private PowerMapper powerMapper;
	
	
	public List<Power> getAll() {
		
		return powerMapper.selectAll();
	}
	
}
